package cn.xiangyunsoft.updater;

import java.io.File;
import java.io.IOException;

/**
 * Created by libo on 2015/8/15.
 */
public interface AutoUpdater {

    /**
     */
    void executeUpdater() throws IOException;

    /**
     */
    void clean();

    /**
     *
     * @return
     */
    File downloadFile();

    /**
     */
    String remoteVersion();

    /**
     */
    String localVersion();

    String localUpdateDate();

    String remoteDate();

    /**
     *
     * @return
     */
    boolean checkUpdate();

}
